package com.weibo.util;

import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;


public class TimeListener implements ServletContextListener {
 
    public void contextDestroyed(ServletContextEvent event) {  
    }  
  
    public void contextInitialized(ServletContextEvent event) {  
    	

    	new JianceSendMailTimerTask();//自动发送邮件 每天的8点30
    	new JianceWeiboSaveTimerTask();//采集监测微博，每一个小时监测一次
    	new SaomiaoPingceWeiboTimerTask();//自动采集评测微博信息，每天4点半执行
    }  
}
